<!DOCTYPE html>
<html>
    <head>
        <title>open lab</title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1, user-scalable=no, minimal-ui"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
        <script src="http://apps.bdimg.com/libs/jquery/1.11.3/jquery.min.js"></script>
        <style type="text/css">
        .focus{
            color:white;background-color:blue;
        }
        .default{border:none;padding:3px 5px}
        </style>
    </head>
    <body>
    <div>
    <form id="actionForm" method="post" action="2.html">
        <p>
            <label>用户名</label>
            <input type="text" name="un" size="10" />
        </p>
        <p>
            <label>密码</label>
            <input type="password" name="up" size="10" /><input type="button" value="random" />
        </p>
        <p>
            <label>性别</label>
            <input type="radio" name="sex" value="1" />男<input type="radio" name="sex" value="2" />女
        </p>
        <p>
            <label>喜好</label>
            <select name="like" size="1">
                <option value="game">游戏</option><option value="film">电影</option><option value="music">音乐</option>
            </select>
        </p>
        <p>
            <label>技能</label>
            <input type="checkbox" name="skill" value="java" />java<input type="checkbox" name="skill" value="spring" />spring<input type="checkbox" name="skill" value="mybatis" />mybatis
        </p>
        <p>
            <label>签名</label>
            <textarea name="signature" rows="3" cols="100"></textarea>
        </p>
        <p>
            <label>&nbsp;</label>
            <input type="hidden" name="token" value=""/>
            <input type="submit" value="post" />
        </p>
    </form>
    </div>
    <script src="jquery.enableSubmit.plug.js"></script>
    <script type="text/javascript">
    jQuery(function($){
        $('#actionForm').enableSubmit().addClass('default');
    });
    </script>
    </body></html>